import { request } from "@/utils/request";
import { IAuthCode, IRegiste } from "@/types/register";



//获取验证码
export const getAuthCode= (data: IAuthCode) =>
    request<any>({
      method: "GET",
      url: "/member/auth/code",
      data
    })
    
//会员注册
export const memberRegister= (data: IRegiste) =>
    request<any>({
      method: "POST",
      url: "/member/register",
      data
    })